package com.liang.lollipop.lreader.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.liang.lollipop.lreader.R;
import com.liang.lollipop.lreader.base.BaseActivity;

/**
 * 设置的activity
 */
public class SettingActivity extends BaseActivity {

    public static final String ACTION_SETTING_CHANGE = "ACTION_SETTING_CHANGE";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);
        setToolBar(R.id.activity_setting_toolbar);
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        sendBroadcast(new Intent(ACTION_SETTING_CHANGE));
    }
}
